package com.bmf.module.examination.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel
@EqualsAndHashCode(callSuper = false)
public class AchievementResultVo implements Serializable {

    //姓名
    @ApiModelProperty(value = "姓名")
    @Excel(name = "姓名", width = 20, orderNum = "1")
    private String studentName;

    //参加次数
    @ApiModelProperty(value = "参加次数")
    @Excel(name = "参加次数", width = 20, orderNum = "2")
    private Integer partCount;

    //总分/及格分
    @ApiModelProperty(value = "总分/及格分")
    @Excel(name = "总分/及格分", width = 20, orderNum = "3")
    private String fraction;

    //成绩
    @ApiModelProperty(value = "成绩")
    @Excel(name = "成绩", width = 20, orderNum = "4")
    private Double score;

    //正确率
    @ApiModelProperty(value = "正确率")
    @Excel(name = "正确率", width = 20, orderNum = "5")
    private Double accuracy;

    //得分率
    @ApiModelProperty(value = "得分率")
    @Excel(name = "得分率", width = 20, orderNum = "6")
    private Double scoringRate;

    //是否及格
    @ApiModelProperty(value = "是否及格")
    @Excel(name = "是否及格", width = 20, orderNum = "7",replace = { "是_true", "否_false" })
    private boolean pass;

    //状态 0.已人工阅卷 1.未人工阅卷
    @ApiModelProperty(value = "状态 0.已人工阅卷 1.未人工阅卷")
    @Excel(name = "状态", width = 20, orderNum = "8",replace = { "已人工阅卷_0", "未人工阅卷_1" })
    private Integer status;

}
